package com.jcl.recruit.searchresume.service;

import com.jcl.recruit.resume.logic.ResumeExternalMsgLogic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName ResumeExternalMsgService
 * @Description TODO
 * @Author yyliu
 * @Date 2018/10/15 14:21
 * @Version 1.0
 **/
@Service
public class ResumeExternalMsgService {

    @Autowired
    private ResumeExternalMsgLogic resumeExternalMsgLogic;

    public void changeResumeExternal(Integer resumeId,
                                     String  from,
                                     String externalMsg){
        resumeExternalMsgLogic.changeExternalResumeMsg(resumeId, from, externalMsg, null);
    }

    public void changeSearchResumeExternal(Integer resumeId,
                                           String  from,
                                           String externalMsg){
        resumeExternalMsgLogic.changeExternalSearchResumeMsg(resumeId, from, externalMsg, null);
    }
}
